package com.feri.rbacsys.mapper;

import com.feri.rbacsys.entity.Supplier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author 神经质的木子李
 * @description 针对表【t_supplier】的数据库操作Mapper
 * @createDate 2023-03-28 15:31:29
 * @Entity com.feri.rbacsys.entity.Supplier
 */
public interface SupplierMapper extends BaseMapper<Supplier> {
    @Update("update t_supplier set delFlag=0 where id=#{id}")
    int deleteFlag(int id);

    @Update("update t_supplier set delFlag=1 where id=#{id}")
    int revert(int id);
}




